<?php

namespace App\Http\Lib;

class ResBase
{
    public static function ApiRes($code = 200,$data,$msg = 'success'){
        return [
            'code' => $code,
            'data' => $data,
            'msg' => $msg
        ];
    }
}
